package com.kangye.enterprise.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (News)实体类
 *
 * @author makejava
 * @since 2021-06-02 13:44:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class News implements Serializable {
    private static final long serialVersionUID = -17920720619629180L;

    private Integer newsId;
    /**
     * 消息内容
     */
    private String newsContent;
    /**
     * 外键用户id
     */
    private Integer newsUsersid;
    /**
     * 外键管理员id
     */
    private Integer newsUserid;

    /**
     * 0代表未读，1代表已读
     */
    private Integer newsState;

    /**
     * 时间
     */
    private Timestamp newsTime;
}
